Skip to content

Conversation

@avik-pal
Copy link
Contributor

No description provided.

@giordano giordano enabled auto-merge (squash) February 21, 2025 22:29
@giordano
Copy link
Member

giordano commented Feb 21, 2025

[23:20:12] Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
[23:20:12] In file included from external/llvm-project/mlir/lib/Dialect/Tosa/Transforms/TosaValidation.cpp:15:
[23:20:12] external/llvm-project/mlir/include/mlir/Dialect/Tosa/IR/TosaProfileCompliance.h:47:10: error: no template named 'unordered_map' in namespace 'std'
[23:20:12]    47 |     std::unordered_map<std::string, SmallVector<OpComplianceInfo<Profile>>>;
[23:20:12]       |     ~~~~~^
[23:20:12] external/llvm-project/mlir/include/mlir/Dialect/Tosa/IR/TosaProfileCompliance.h:49:10: error: no template named 'unordered_map' in namespace 'std'
[23:20:12]    49 |     std::unordered_map<std::string, SmallVector<OpComplianceInfo<Extension>>>;
[23:20:12]       |     ~~~~~^
[23:20:12] external/llvm-project/mlir/include/mlir/Dialect/Tosa/IR/TosaProfileCompliance.h:106:8: error: no template named 'unordered_map' in namespace 'std'
[23:20:12]   106 |   std::unordered_map<std::string, SmallVector<OpComplianceInfo<T>>>
[23:20:12]       |   ~~~~~^
[23:20:12] external/llvm-project/mlir/include/mlir/Dialect/Tosa/IR/TosaProfileCompliance.h:159:3: error: unknown type name 'OperationProfileComplianceMap'
[23:20:12]   159 |   OperationProfileComplianceMap profileComplianceMap;
[23:20:12]       |   ^
[23:20:12] external/llvm-project/mlir/include/mlir/Dialect/Tosa/IR/TosaProfileCompliance.h:160:3: error: unknown type name 'OperationExtensionComplianceMap'
[23:20:12]   160 |   OperationExtensionComplianceMap extensionComplianceMap;
[23:20:12]       |   ^
[23:20:12] external/llvm-project/mlir/lib/Dialect/Tosa/Transforms/TosaValidation.cpp:415:18: error: cannot initialize object parameter of type 'mlir::Pass' with an expression of type '(anonymous namespace)::TosaValidation'
[23:20:12]   415 |           return signalPassFailure();
[23:20:12]       |                  ^~~~~~~~~~~~~~~~~
[23:20:12] external/llvm-project/mlir/lib/Dialect/Tosa/Transforms/TosaValidation.cpp:429:18: error: cannot initialize object parameter of type 'mlir::Pass' with an expression of type '(anonymous namespace)::TosaValidation'
[23:20:12]   429 |           return signalPassFailure();
[23:20:12]       |                  ^~~~~~~~~~~~~~~~~
[23:20:12] external/llvm-project/mlir/lib/Dialect/Tosa/Transforms/TosaValidation.cpp:721:30: error: cannot initialize object parameter of type 'mlir::Pass' with an expression of type '(anonymous namespace)::TosaValidation'
[23:20:12]   721 |   TosaDialect *tosaDialect = getContext().getLoadedDialect<TosaDialect>();
[23:20:12]       |                              ^~~~~~~~~~
[23:20:12] external/llvm-project/mlir/lib/Dialect/Tosa/Transforms/TosaValidation.cpp:725:3: error: cannot initialize object parameter of type 'mlir::OperationPass<mlir::ModuleOp>' with an expression of type '(anonymous namespace)::TosaValidation'
[23:20:12]   725 |   getOperation().walk([&](Operation *op) {
[23:20:12]       |   ^~~~~~~~~~~~
[23:20:12] external/llvm-project/mlir/lib/Dialect/Tosa/Transforms/TosaValidation.cpp:732:14: error: cannot initialize object parameter of type 'mlir::Pass' with an expression of type '(anonymous namespace)::TosaValidation'
[23:20:12]   732 |       return signalPassFailure();
[23:20:12]       |              ^~~~~~~~~~~~~~~~~
[23:20:12] external/llvm-project/mlir/lib/Dialect/Tosa/Transforms/TosaValidation.cpp:736:14: error: cannot initialize object parameter of type 'mlir::Pass' with an expression of type '(anonymous namespace)::TosaValidation'
[23:20:12]   736 |       return signalPassFailure();
[23:20:12]       |              ^~~~~~~~~~~~~~~~~
[23:20:12] external/llvm-project/mlir/lib/Dialect/Tosa/Transforms/TosaValidation.cpp:743:16: error: cannot initialize object parameter of type 'mlir::Pass' with an expression of type '(anonymous namespace)::TosaValidation'
[23:20:12]   743 |         return signalPassFailure();
[23:20:12]       |                ^~~~~~~~~~~~~~~~~
[23:20:12] external/llvm-project/mlir/lib/Dialect/Tosa/Transforms/TosaValidation.cpp:751:16: error: cannot initialize object parameter of type 'mlir::Pass' with an expression of type '(anonymous namespace)::TosaValidation'
[23:20:12]   751 |         return signalPassFailure();
[23:20:12]       |                ^~~~~~~~~~~~~~~~~
[23:20:12] external/llvm-project/mlir/lib/Dialect/Tosa/Transforms/TosaValidation.cpp:758:7: error: cannot initialize object parameter of type 'mlir::Pass' with an expression of type '(anonymous namespace)::TosaValidation'
[23:20:12]   758 |       signalPassFailure();
[23:20:12]       |       ^~~~~~~~~~~~~~~~~
[23:20:12] external/llvm-project/mlir/lib/Dialect/Tosa/Transforms/TosaValidation.cpp:762:7: error: cannot initialize object parameter of type 'mlir::Pass' with an expression of type '(anonymous namespace)::TosaValidation'
[23:20:12]   762 |       signalPassFailure();
[23:20:12]       |       ^~~~~~~~~~~~~~~~~
[23:20:12] external/llvm-project/mlir/lib/Dialect/Tosa/Transforms/TosaValidation.cpp:766:7: error: cannot initialize object parameter of type 'mlir::Pass' with an expression of type '(anonymous namespace)::TosaValidation'
[23:20:12]   766 |       signalPassFailure();
[23:20:12]       |       ^~~~~~~~~~~~~~~~~
[23:20:12] external/llvm-project/mlir/lib/Dialect/Tosa/Transforms/TosaValidation.cpp:770:7: error: cannot initialize object parameter of type 'mlir::Pass' with an expression of type '(anonymous namespace)::TosaValidation'
[23:20:12]   770 |       signalPassFailure();
[23:20:12]       |       ^~~~~~~~~~~~~~~~~
[23:20:12] In file included from external/llvm-project/mlir/lib/Dialect/Tosa/Transforms/TosaValidation.cpp:35:
[23:20:12] bazel-out/darwin_arm64-dbg/bin/external/llvm-project/mlir/include/mlir/Dialect/Tosa/Transforms/Passes.h.inc:437:12: error: no viable conversion from returned value of type 'unique_ptr<(anonymous namespace)::TosaValidation>' to function return type 'unique_ptr<::mlir::Pass>'
[23:20:12]   437 |     return std::make_unique<DerivedT>();
[23:20:12]       |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
[23:20:12] bazel-out/darwin_arm64-dbg/bin/external/llvm-project/mlir/include/mlir/Dialect/Tosa/Transforms/Passes.h.inc:436:40: note: in instantiation of member function 'mlir::tosa::impl::createTosaValidation' requested here
[23:20:12]   436 |   friend std::unique_ptr<::mlir::Pass> createTosaValidation() {
[23:20:12]       |                                        ^
[23:20:12] /opt/aarch64-apple-darwin20/aarch64-apple-darwin20/sys-root/usr/include/c++/v1/memory:2148:59: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'typename __unique_if<TosaValidation>::__unique_single' (aka 'unique_ptr<(anonymous namespace)::TosaValidation>') to 'const unique_ptr<Pass> &' for 1st argument
[23:20:12]  2148 | class _LIBCPP_UNIQUE_PTR_TRIVIAL_ABI _LIBCPP_TEMPLATE_VIS unique_ptr {
[23:20:12]       |                                                           ^~~~~~~~~~
[23:20:12] /opt/aarch64-apple-darwin20/aarch64-apple-darwin20/sys-root/usr/include/c++/v1/memory:2212:21: note: candidate constructor template not viable: no known conversion from 'typename __unique_if<TosaValidation>::__unique_single' (aka 'unique_ptr<(anonymous namespace)::TosaValidation>') to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument
[23:20:12]  2212 |   _LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(pointer(), __default_init_tag()) {}
[23:20:12]       |                     ^          ~~~~~~~~~
[23:20:12] /opt/aarch64-apple-darwin20/aarch64-apple-darwin20/sys-root/usr/include/c++/v1/memory:2240:3: note: candidate constructor not viable: no known conversion from 'typename __unique_if<TosaValidation>::__unique_single' (aka 'unique_ptr<(anonymous namespace)::TosaValidation>') to 'unique_ptr<Pass> &&' for 1st argument
[23:20:12]  2240 |   unique_ptr(unique_ptr&& __u) _NOEXCEPT
[23:20:12]       |   ^          ~~~~~~~~~~~~~~~~
[23:20:12] /opt/aarch64-apple-darwin20/aarch64-apple-darwin20/sys-root/usr/include/c++/v1/memory:2249:3: note: candidate template ignored: requirement 'is_convertible<(anonymous namespace)::TosaValidation *, mlir::Pass *>::value' was not satisfied [with _Up = (anonymous namespace)::TosaValidation, _Ep = std::default_delete<(anonymous namespace)::TosaValidation>]
[23:20:12]  2249 |   unique_ptr(unique_ptr<_Up, _Ep>&& __u) _NOEXCEPT
[23:20:12]       |   ^
[23:20:12] /opt/aarch64-apple-darwin20/aarch64-apple-darwin20/sys-root/usr/include/c++/v1/memory:2217:12: note: explicit constructor is not a candidate
[23:20:12]  2217 |   explicit unique_ptr(pointer __p) _NOEXCEPT : __ptr_(__p, __default_init_tag()) {}
[23:20:12]       |            ^
[23:20:12] In file included from external/llvm-project/mlir/lib/Dialect/Tosa/Transforms/TosaValidation.cpp:35:
[23:20:12] bazel-out/darwin_arm64-dbg/bin/external/llvm-project/mlir/include/mlir/Dialect/Tosa/Transforms/Passes.h.inc:441:12: error: no viable conversion from returned value of type 'unique_ptr<(anonymous namespace)::TosaValidation>' to function return type 'unique_ptr<::mlir::Pass>'
[23:20:12]   441 |     return std::make_unique<DerivedT>(std::move(options));
[23:20:12]       |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[23:20:12] bazel-out/darwin_arm64-dbg/bin/external/llvm-project/mlir/include/mlir/Dialect/Tosa/Transforms/Passes.h.inc:440:40: note: in instantiation of member function 'mlir::tosa::impl::createTosaValidation' requested here
[23:20:12]   440 |   friend std::unique_ptr<::mlir::Pass> createTosaValidation(TosaValidationOptions options) {
[23:20:12]       |                                        ^
[23:20:12] /opt/aarch64-apple-darwin20/aarch64-apple-darwin20/sys-root/usr/include/c++/v1/memory:2148:59: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'typename __unique_if<TosaValidation>::__unique_single' (aka 'unique_ptr<(anonymous namespace)::TosaValidation>') to 'const unique_ptr<Pass> &' for 1st argument
[23:20:12]  2148 | class _LIBCPP_UNIQUE_PTR_TRIVIAL_ABI _LIBCPP_TEMPLATE_VIS unique_ptr {
[23:20:12]       |                                                           ^~~~~~~~~~
[23:20:12] /opt/aarch64-apple-darwin20/aarch64-apple-darwin20/sys-root/usr/include/c++/v1/memory:2212:21: note: candidate constructor template not viable: no known conversion from 'typename __unique_if<TosaValidation>::__unique_single' (aka 'unique_ptr<(anonymous namespace)::TosaValidation>') to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument
[23:20:12]  2212 |   _LIBCPP_CONSTEXPR unique_ptr(nullptr_t) _NOEXCEPT : __ptr_(pointer(), __default_init_tag()) {}
[23:20:12]       |                     ^          ~~~~~~~~~
[23:20:12] /opt/aarch64-apple-darwin20/aarch64-apple-darwin20/sys-root/usr/include/c++/v1/memory:2240:3: note: candidate constructor not viable: no known conversion from 'typename __unique_if<TosaValidation>::__unique_single' (aka 'unique_ptr<(anonymous namespace)::TosaValidation>') to 'unique_ptr<Pass> &&' for 1st argument
[23:20:12]  2240 |   unique_ptr(unique_ptr&& __u) _NOEXCEPT
[23:20:12]       |   ^          ~~~~~~~~~~~~~~~~
[23:20:12] /opt/aarch64-apple-darwin20/aarch64-apple-darwin20/sys-root/usr/include/c++/v1/memory:2249:3: note: candidate template ignored: requirement 'is_convertible<(anonymous namespace)::TosaValidation *, mlir::Pass *>::value' was not satisfied [with _Up = (anonymous namespace)::TosaValidation, _Ep = std::default_delete<(anonymous namespace)::TosaValidation>]
[23:20:12]  2249 |   unique_ptr(unique_ptr<_Up, _Ep>&& __u) _NOEXCEPT
[23:20:12]       |   ^
[23:20:12] /opt/aarch64-apple-darwin20/aarch64-apple-darwin20/sys-root/usr/include/c++/v1/memory:2217:12: note: explicit constructor is not a candidate
[23:20:12]  2217 |   explicit unique_ptr(pointer __p) _NOEXCEPT : __ptr_(__p, __default_init_tag()) {}
[23:20:12]       |            ^
[23:20:12] fatal error: too many errors emitted, stopping now [-ferror-limit=]
[23:20:12] 20 errors generated.

There are too many errors, but first one is same as triton-lang/triton#5721: someone didn't include a necessary header file.

Edit: hopefully all other errors cascade from the missing header file

@giordano
Copy link
Member

llvm/llvm-project#128248

auto-merge was automatically disabled February 22, 2025 02:56

Head branch was pushed to by a user without write access

@avik-pal
Copy link
Contributor Author

avik-pal commented Feb 22, 2025

more failures https://buildkite.com/julialang/yggdrasil/builds/17983#01952b96-d696-436e-a51d-ec095b05df8b/6-20086

[05:01:02] external/enzyme_ad/src/enzyme_ad/jax/Passes/AffineToStableHLORaising.cpp:19:10: error: module @enzyme_ad//src/enzyme_ad/jax:XLADerivatives does not depend on a module exporting 'mlir/Dialect/Affine/LoopUtils.h'
[05:01:02]    19 | #include "mlir/Dialect/Affine/LoopUtils.h"
[05:01:02]       |          ^
[05:01:02] 1 error generated.

@avik-pal
Copy link
Contributor Author

This is likely EnzymeJAX

@giordano
Copy link
Member

I got that error also with build_local on Linux

@giordano
Copy link
Member

EnzymeAD/Enzyme-JAX#374

@wsmoses wsmoses enabled auto-merge (squash) February 22, 2025 23:32
auto-merge was automatically disabled February 23, 2025 03:36

Head branch was pushed to by a user without write access

@giordano giordano merged commit 9651b80 into JuliaPackaging:master Feb 23, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants